package com.baitengsoft.patentservicemonitor.api.dao;

import com.baitengsoft.patentservicemonitor.api.model.RptPatentIpcModel;
import com.baitengsoft.patentservicemonitor.api.model.param.RptPatentIpcParam;
import com.baitengsoft.patentservicemonitor.api.entity.RptPatentIpcEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by 周俊 on 2018/1/2.
 */
@Mapper
public interface RptPatentIpcDao extends BaseDao<RptPatentIpcEntity> {

    /**
     * 获取RptPatentDataArea表对应数据
     */
    int queryRptPatentIpc(@Param("PlatformID")Integer PlatformID,@Param("ParentID")Integer ParentID);

    /**
     * 获取一条数据
     */
    RptPatentIpcEntity queryRptPatentIpcByQuery(@Param("PlatformID")Integer PlatformID,@Param("ParentID")Integer ParentID);
}
